home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Interactive 1
/
PC World Interactive 1 - Nisan 1997.iso
/
prog
/
masa
/
25
/
ncg_free.exe
/
NCG_Free
/
UNINSTAL.INF
< prev
next >
Wrap
INI File
|
1996-10-15
|
9KB
|
317 lines
;****************************************************************************
;* Norton CrashGuard uninstallation Script *
;****************************************************************************
; Script Switch Numbers
; SWITCH_IS_NT40 01
; SWITCH_IS_WIN95 02
; SWITCH_FULL_UNINSTALL 10
; SWITCH_PREVIOUS 50
; SWITCH_NEXT 51
; SWITCH_CANCEL 52
; SWITCH_EXIT_CONTINUE 96
; SWITCH_EXIT_RESTART 97
; SWITCH_EXIT_REBOOT 98
[InstallVersion]
4.0
[process]
Uninstall()
EnableForceWrite()
EnableOverwrite()
EnableWin95Shell()
Enable256Advos()
SetActiveCopy(MainCopy, uninstal.inf)
Backup(CustDLLCopy)
Backup(SettingsDLLCopy)
;Bitmaps(Bitmaps)
CallProc(InitCustomDLL)
CallProc(KillRunningTasks)
;ResetTarget(SourceTarget)
CallProc(SetTargetToSource)
CallProc(SetSymantecDirectory)
CallProc(SetLiveUpdateDirectory)
switch10=TRUE
WizardPanel(WizUninstallWelcome, siwstngr.dll)
WizardProcessPanel()
SelectOption(RequiredFiles)
FullUninstall()
Uncopy()
CallProc(HourglassOn)
CallProc(UnregisterSharedUsage_LiveUpdate)
CallProc(UninstallShared)
CallProc(DeleteSettings)
CallProc(UnregisterProductInfo)
Delete(LeftoversFull)
CallProc(HourglassOff)
CallProc(DeleteProgramGroup)
switch96=FALSE
switch97=TRUE
switch98=FALSE
WizardPanel(WizUninstallFinish, siwstngr.dll)
WizardProcessPanel()
CallProc(DeleteDirectories)
:Exit
CallProc(RefreshDesktop)
#if(switch97)
switch53=CallProcEx(bRestartWindows)
#if(switch53)
ExitRestart()
#else
Exit()
#endif
#endif
#if(switch98)
switch53=CallProcEx(bRebootSystem)
#if(switch53)
RebootNT()
#else
Exit()
#endif
#endif
Exit()
;***************************************************************************
;* SubProc Executed When Install Takes Over As Shell
;***************************************************************************
[SubProc]
Backup(CustDLLCopy)
Backup(SettingsDLLCopy)
ResetTarget(SourceTarget)
Return()
;***************************************************************************
;* Dialog Info *
;***************************************************************************
;***************************************************************************
;* Message Text *
;***************************************************************************
[cancel]
caption = "Exit Uninstall?"
text = "Are you sure that you want to exit?"
[cancelshell]
caption = "Exit Uninstall?"
"You have chosen to cancel the Uninstall"
"program. In order to reset the Windows"
"environment, Uninstall will also close"
"Windows. Are you sure you want to exit?"
[NotImplemented]
caption = "Feature Not Implemented"
"This feature has not yet been implemented."
;***************************************************************************
;* Set Directories *
;***************************************************************************
[SourceTarget]
reset = TARGET1
location = %s, SOURCE
;***************************************************************************
;* Delete Files *
;***************************************************************************
[LeftoversFull]
pipedlg.dat, TARGET1
modem.id, TARGET1
$flecomp.tmp, TARGET1
wintdist.exe, TARGET1
system.ncg, WINDOWS
user.ncg, WINDOWS
crashgrd.gid, TARGET1
crashgrd.fts, TARGET1
crashgrd.ftg, TARGET1
[CustDLLDel]
siwstngr.dll, TEMPDIR
;***************************************************************************
;* External function calls (DLL) *
;***************************************************************************
[InitCustomDLL]
dll = siwstngr.dll
function = InitCustomDLL
[TestFunction]
dll = siwstngr.dll
function = TestFunction
[SetSymantecDirectory]
dll=siwstngr.dll
function=SetSymantecDirectory
[SetLiveUpdateDirectory]
dll=siwstngr.dll
function=SetLiveUpdateDirectory
[UninstallShared]
dll=siwstngr.dll
function=UninstallShared
[UnregisterProductInfo]
dll=siwstngr.dll
function=UnregisterProductInfo
[KillRunningTasks]
dll=siwstngr.dll
function=KillRunningTasks
[DeleteDirectories]
dll=siwstngr.dll
function=DeleteDirectories
[HourglassOn]
dll=siwstngr.dll
function=HourglassOn
[HourglassOff]
dll=siwstngr.dll
function=HourglassOff
[SetTargetToSource]
dll=siwstngr.dll
function=SetTargetToSource
[bRestartWindows]
dll=siwstngr.dll
function=bRestartWindows
[bRebootSystem]
dll=siwstngr.dll
function=bRebootSystem
[UnregisterSharedUsage_LiveUpdate]
dll=siwstngr.dll
function=UnregisterSharedUsage_LiveUpdate
[DeleteProgramGroup]
dll=siwstngr.dll
function=DeleteProgramGroup
[DeleteSettings]
dll=siwstngr.dll
function=DeleteSettings
;***************************************************************************
;* Misc install functions *
;***************************************************************************
[Bitmaps]
color = %s\symantec.rle, -1, -1
;***************************************************************************
;* File backup *
;***************************************************************************
[CustDLLCopy]
siwstngr.dll, siwstngr.dll, SOURCE, TEMPDIR
[SettingsDLLCopy]
cgsetngs.dll, cgsetngs.dll, SOURCE, TEMPDIR
;***************************************************************************
;* SetShell section *
;***************************************************************************
[SetShell]
WinIniName = win.ini
SystemIniName = system.ini
Message = MessageBox.SetShellMessage
SysSectionName = boot
WinSectionName = windows
shell = %s\setup.exe
load =
run =
SetShellIfLoaded=
Backup = Backup.SetShellSave
Restore = Backup.SetShellRestore
Active=no
IfActiveList=LoadedList
SubProcess=SubProc
[SetShellSave]
win.ini, win.siw, WINDOWS, WINDOWS
system.ini, system.siw, WINDOWS, WINDOWS
[SetShellRestore]
system.siw, system.ini, WINDOWS, WINDOWS
win.siw, win.ini, WINDOWS, WINDOWS
[_LoadedList]
[SetShellMessage]
caption = "Norton CrashGuard (TM) Uninstall"
"Welcome to Norton CrashGuard (TM) Uninstall. Please select OK to allow Uninstall to restart Windows and continue. Press Cancel to exit Uninstall."
;***************************************************************************
;* Groups *
;***************************************************************************
[MainGroup]
"Norton CrashGuard", ncg.grp
[Norton CrashGuard]
"Norton CrashGuard (TM)", cgmain.exe, RequiredFiles,,TARGET1,,,,TARGET1
"Norton CrashGuard (TM) Release Notes", readme.txt, RequiredFiles,,TARGET1,,,,TARGET1
;***************************************************************************
;* Copy *
;***************************************************************************
[MainCopy]
;SelectionType.ComponentName, "SelectionDlgText", Size, Required?,<Files>?,ShowItem?
CopyMain.RequiredFiles, "Required Files - %ldK", 0, Y, N, Y
CopyMain.LiveUpdate, "Symantec LiveUpdate - %ldK", 0, N, N, N
;***************************************************************************
;* Wizard Panels *
;***************************************************************************
[WizUninstallWelcome]
Caption="Norton CrashGuard (TM) Uninstall"
Title="Welcome to Uninstall"
DlgProc=SIW_ProductDlgProc
ResourceId=1005
Bitmap16=900
PanelDataProc=DefaultDataProc
PanelFlags=first
[WizUninstallFinish]
Caption="Norton CrashGuard (TM) Uninstall"
Title="Uninstall Complete"
DlgProc=SIW_ProductDlgProc
ResourceId=1004
;Bitmap16=906
Bitmap16=900
PanelDataProc=DefaultDataProc
PanelFlags=first+last+finish